/*
 * MethodInfo.h
 *
 *  Created on: 2011-8-1
 *      Author:
 */

#ifndef METHODINFO_H_
#define METHODINFO_H_
#include <string>
#include <vector>
#include "type.h"
#include "SwfObject.h"
#include "OptionInfo.h"
#include "AbcFile.h"
namespace swfstream {
class AbcFile;
class MethodInfo: public SwfObject {
public:
	MethodInfo();
	virtual ~MethodInfo();
	uint32 paramCount;
	uint32 returnType;
	std::vector<uint32> paramType;
	uint32 name;
	uint8 flags;
	OptionInfo* options;
	virtual std::string toString(AbcFile* abcFile);
};

} /* namespace swfstream */
#endif /* METHODINFO_H_ */
